<template>
   <div>
      <DdeToast :params="toastData" v-if="isShow"/>
      <div @click="clickMe">点击我</div>
      <div @click="clickYou">点击你</div>
   </div>
</template>
<script setup lang="ts">
import DdeToast from './dde-toast.vue';
import Home from './index';
const home = new Home();
const {toastData,isShow} = home.init();
const clickMe=()=>{
   home.clickMe();
}
const clickYou=()=>{
    home.clickYou();
}

</script>
